package com.vsen.lpr.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.vsen.lpr.entity.MeasureRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * 测量记录
 */
@Mapper
public interface MeasureRecordMapper extends BaseMapper<MeasureRecord> {

    List<MeasureRecord> selectUserMeasureHistories(@Param("userId") String userId, @Param("startDate") String startDate, @Param("endDate") String endDate);

    MeasureRecord selectByDate(@Param("date") String date,@Param("userId") String userId);

    //List<MeasureRecord> selectUserMeasureHistoryByTypeId(@Param("userId") Integer userId, @Param("typeId") Integer typeId);

}
